package com.flashapp {	import org.simplemvc.core.Preloader;		/**	 * This is a sample flash application built with the SimpleMVC pattern.	 * 	 * @author Tony Birleffi	 */	public class FlashPreloader extends Preloader 	{		/**		 * Constructor		 */		public function FlashPreloader()		{			// Always set the main application reference first.			super( "com.flashapp.FlashApp" );						// Define your flash vars.			flashVars = root.loaderInfo.parameters;		}				/**		 * Method used to display the loading progress, usually override.		 * 		 * @param percent	Number.		 */		override public function showPreloader( percent:Number ):void		{            graphics.beginFill( 0 );            graphics.drawRect( 0, ( stage.stageHeight / 2 - 10 ), ( stage.stageWidth * percent ), 20 );            graphics.endFill();		}				/**		 * Method used to remove the loading progress, usually overrided.		 */		override public function hidePreloader():void		{			graphics.clear();		}	}}